//
//  UINavigationController+EMNavi.h
//  ElectronicMall
//
//  Created by 史伟文 on 14/12/22.
//  Copyright (c) 2014年 cczu. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UINavigationController (EMNavi)

typedef NS_ENUM(NSInteger, EMNavigationMode) {
    // NavigationBar with default style
    EMNavigationModeDefault     = 0,
    // NavigationBar hidden
    EMNavigationModeNone        = 1,
    // NavigationBar with SearchBar style
    EMNavigationModeSearchBar   = 2,
};

typedef NS_ENUM(NSInteger, EMNavigationSearchSubMode) {
    EMNavigationSearchSubModeLogoAndCity    = 0,
    EMNavigationSearchSubModeLogoAndCancel  = 1,
    EMNavigationSearchSubModeCity           = 2,
    EMNavigationSearchSubModeBack           = 3,
};

- (void)setNavigationMode: (NSInteger)mode andSubMode: (NSInteger)subMode;

@end
